Keyboard Macros

Keyboard macros simplify a large class of repitious editing tasks. The basic idea is simple. A set of keystrokes can be collected into a group, and then the group may be replayed any number of times.

There is only 1 keyboard macro. It would (perhaps) be nice if you could have more than 1 of them. [1]##1 [C-X (] This command starts the collection of a keyboard macro. All keystrokes up to the next C-X ) will be gathered up, and may be replayed by the execute keyboard macro command. [C-X )] This command stops the collection of a keyboard macro. [C-X E] The execute keyboard macro command replays the current keyboard macro. If an argument is present, it specifies the number of times the macro should be executed. If no argument is present, it runs the macro once.